<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
    <script> document.documentElement.style.fontSize = document.documentElement.clientWidth/750*40 +"px";</script>
    <meta name="format-detection" content="telephone=no" />
    <title>商城</title>
    <link rel="stylesheet" type="text/css" href="__STATIC__/m/foxui/css/foxui.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/m/css/style.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_771739_7tu85q6ms8r.css">
    <script src="https://cdn.bootcss.com/jquery/2.2.2/jquery.min.js"></script>
    <script src='https://res.wx.qq.com/open/js/jweixin-1.3.0.js'></script>
    <script src="__STATIC__/js/array.js/array.min.js"></script>
    <script src="__STATIC__/m/foxui/js/foxui.min.js"></script>
    <script src="__STATIC__/m/js/core.js"></script>
    {block name="style"}{/block}
</head>
<body ontouchstart>
{block name="page_current"}{/block}
<script src="__STATIC__/layer/layui.js"></script>
<script src="__STATIC__/layer/laytpl.js"></script>
<script src="https://cdn.bootcss.com/store.js/1.3.20/store.min.js"></script>
<script>
    function updateBarNavCartNum(_num) {
        if(_num > 0){
            $('#menucart').find('.badge').show(0).html(_num);
        }
        else{
            $('#menucart').find('.badge').hide(0);
        }
    }
    function setBarNavCartNumByCache(_num) {
        store.set('updateBarNavCartNumByCache_num', _num);
        updateBarNavCartNum(_num);
    }
    function updateBarNavCartNumByCache() {
        var num = store.get('updateBarNavCartNumByCache_num');
        updateBarNavCartNum(num);
    }
</script>
{block name="script"}{/block}
</body>
</html>
